package com.example.demo6.vo;

/**
 * 统一API响应值对象
 *
 * @param <T>
 */
public class ResultVO<T> {
    private Integer code;//响应码
    private String msg;//响应消息
    private T data;//响应数据

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
